package cn.cvs.service.impl;

import cn.cvs.dao.SysSupplierMapper;
import cn.cvs.pojo.Supplier;
import cn.cvs.service.SysSupplierService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class SysSupplierServiceImpl implements SysSupplierService {
    @Autowired
    private SysSupplierMapper sysSupplierMapper;

    @Override
    public List<Supplier> getList(Supplier supplier) {
        return sysSupplierMapper.selectSupplier(supplier);
    }


    public void setSysSupplierMapper(SysSupplierMapper sysSupplierMapper) {
        this.sysSupplierMapper = sysSupplierMapper;
    }
}
